package com.sunchen.asc.service.user.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class CurrentUser implements Serializable {

    private String id;
    //姓名
    private String name;
    //用户名
    private String userName;
    //电话
    private String tel;
    //性别 1:男 2：女
    private int sex;
    //邮箱
    private String email;

    private int status;
    private String description;

    private List<RoleVo> roles;

    private List<String> auth;

    public CurrentUser(){}

    public CurrentUser(Long id, String name, String userName, String tel, int sex, String email, int status, String description, List<RoleVo> roles, List<String> auth) {
        this.id = id.toString();
        this.name = name;
        this.userName = userName;
        this.tel = tel;
        this.sex = sex;
        this.email = email;
        this.status = status;
        this.description = description;
        this.roles = roles;
        this.auth = auth;
    }
}
